package com.specialized.passenger.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.specialized.common.core.annotation.Excel;
import com.specialized.common.core.web.domain.BaseEntity;

/**
 * 用户对象 user
 *
 * @author djh
 * @date 2024-07-19
 */
public class User extends BaseEntity
        {
private static final long serialVersionUID=1L;

    /** 用户id */
    private Long userId;

    /** 用户手机号 */
            @Excel(name = "用户手机号")
    private String userTel;

    /** 姓名 */
            @Excel(name = "姓名")
    private String userName;

    /** 用户余额 */
            @Excel(name = "用户余额")
    private BigDecimal userBalance;

    /** 用户积分 */
            @Excel(name = "用户积分")
    private Long userScore;

    /** 用户性别 0：男1：女 */
            @Excel(name = "用户性别 0：男1：女")
    private String userSex;

    /** 用户生日 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "用户生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date userBirthday;

    /** 用户邮箱 */
            @Excel(name = "用户邮箱")
    private String userEmail;

    public void setUserId(Long userId)
            {
            this.userId = userId;
            }

    public Long getUserId()
            {
            return userId;
            }
    public void setUserTel(String userTel)
            {
            this.userTel = userTel;
            }

    public String getUserTel()
            {
            return userTel;
            }
    public void setUserName(String userName)
            {
            this.userName = userName;
            }

    public String getUserName()
            {
            return userName;
            }
    public void setUserBalance(BigDecimal userBalance)
            {
            this.userBalance = userBalance;
            }

    public BigDecimal getUserBalance()
            {
            return userBalance;
            }
    public void setUserScore(Long userScore)
            {
            this.userScore = userScore;
            }

    public Long getUserScore()
            {
            return userScore;
            }
    public void setUserSex(String userSex)
            {
            this.userSex = userSex;
            }

    public String getUserSex()
            {
            return userSex;
            }
    public void setUserBirthday(Date userBirthday)
            {
            this.userBirthday = userBirthday;
            }

    public Date getUserBirthday()
            {
            return userBirthday;
            }
    public void setUserEmail(String userEmail)
            {
            this.userEmail = userEmail;
            }

    public String getUserEmail()
            {
            return userEmail;
            }

@Override
public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId",getUserId())
            .append("userTel",getUserTel())
            .append("userName",getUserName())
            .append("userBalance",getUserBalance())
            .append("userScore",getUserScore())
            .append("userSex",getUserSex())
            .append("createTime",getCreateTime())
            .append("updateTime",getUpdateTime())
            .append("userBirthday",getUserBirthday())
            .append("userEmail",getUserEmail())
        .toString();
        }
        }
